package com.itheima.day16.task1;

public class DemoClass {
    private String name;

    public DemoClass() {
    }

    public DemoClass(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private void run(String name) {
        System.out.println(name + "welcome to heima!");
    }
}
